---
vector_version: 0.27.0
vector_config_dir: "{{ ansible_user_dir }}/vector_config"
clickhouse_user: loger
clickhouse_password: loger
dest_host: 192.168.1.10
vector_config:
  sources:
    source_log_file:
      type: file
      ignore_older_secs: 600
      include:
        - "{{ ansible_user_dir }}/test.log"
      read_from: beginning
  sinks:
      clickhouse:
        type: clickhouse
        inputs: 
          - source_log_file
        auth: 
          user: "{{ clickhouse_user }}"
          password: "{{ clickhouse_password }}"
          strategy: basic
        compression: gzip
        database: logs
        encoding: null
        endpoint: "http://{{ dest_host }}:8123"
        skip_unknown_fields: null
        table: test_logs
        